package com.cheejee.goodscenter.config;

import javax.annotation.Resource;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.validation.Validator;


@Configuration
public class Config {
	
	@Resource
	

	@Bean
	public Validator validator() {

		return new org.springframework.validation.beanvalidation.LocalValidatorFactoryBean();
	}

}
